import BaseService from './_BaseService'

class AccountService extends BaseService {
  root = window.apiPath + '/apply-users-password'
  changePassword (currentPassword, password) {
    return super.put(this.root, {password})
  }
}

export default new AccountService()
